class Productorigin < ActiveRecord::Base
  has_many :National, :foreign_key => :national_id
  has_many :Farm, :foreign_key => :farm_id
  belongs_to :Product, :foreign_key => :product_id
end
